﻿<UserControl x:Class="TimeSplicerModule.Views.StatusListView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300"
             Width="800" Height="600">
    
    <Grid>
        
        <Border VerticalAlignment="Top" HorizontalAlignment="Left">
            <DataGrid ItemsSource="{Binding Path=Statuses}"
                      AutoGenerateColumns="False"
                      CanUserAddRows="False"
                      CanUserDeleteRows="False"
                      Style="{StaticResource AzureDataGrid}">
                
                <DataGrid.Columns>
                    <DataGridTextColumn Header="Status" Binding="{Binding Path=Name}" IsReadOnly="True"/>
                    <DataGridTextColumn Header="Status Enum" Binding="{Binding Path=StatusEnum}" IsReadOnly="True" />
                    <DataGridCheckBoxColumn Header="Is Active" Binding="{Binding Path=IsActive}" />
                    <DataGridCheckBoxColumn Header="Is User Status" Binding="{Binding Path=IsUserStatus}" />
                    <DataGridCheckBoxColumn Header="Is Project Status" Binding="{Binding Path=IsProjectStatus}" />
                    <DataGridCheckBoxColumn Header="Is Branch Status" Binding="{Binding Path=IsBranchStatus}" />
                    <DataGridCheckBoxColumn Header="Is Task Status" Binding="{Binding Path=IsTaskStatus}" />
                </DataGrid.Columns>
            </DataGrid>
        </Border>
    </Grid>
</UserControl>
